package com.eastfair.venuebooking.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.Map;

/**
 * 跟进记录 VO.
 *
 * @author dqq
 * @date 2022 /6/11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
public class FollowRecordVO implements Serializable {

    private Map<String, Object> echoMap = new HashMap<>();

    private Long id;

    /**
     * 跟进类型，数据字典
     */
    private String followType;

    /**
     * 跟进内容
     */
    private String content;

    /**
     * 跟进用户id
     */
    private Long followUserId;

    /**
     * 跟进用户名
     */
    private String followUserName;

    /**
     * 跟进日期
     */
    private LocalDate followDate;

    /**
     * 跟进时间
     */
    private LocalDateTime followDateTime;

    /**
     * 跟进记录的类型，枚举，1.跟进客户，2.跟进线索，3.跟进商机
     */
    private String followRecordType;

    /**
     * 客户id
     */
    private Long customerId;

    /**
     * 客户名称
     */
    private String customerName;

    /**
     * 客户状态，数据字典
     */
    private String customerStatus;

    /**
     * 联系人id
     */
    private Long contactId;

    /**
     * 联系人名称
     */
    private String contactName;

    /**
     * 线索id
     */
    private Long clueId;

    /**
     * 线索名称
     */
    private String clueName;

    /**
     * 线索状态
     */
    private String clueStatus;

    /**
     * 商机id
     */
    private Long businessOpportunityId;

    /**
     * 商机名称
     */
    private String businessOpportunityName;

    /**
     * 商机阶段，数据字段
     */
    private String businessOpportunityStage;

    /**
     * 合同id
     */
    @ApiModelProperty(value = "合同id")
    private Long contractManageId;
    /**
     * 合同名称
     */
    @ApiModelProperty(value = "合同名称")
    private String contractManageName;
}
